package com.crm.model.system.role.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("crm_role")
public class Role {
    //角色id
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //角色名字
    private String roleName;
    //权限字符
    private String characters;
    //显示顺序
    private Integer orderTo;
    //状态 1:使用,2禁用
    private Integer status;
    //创建时间
    private LocalDate createTime;
    //创建人
    private String createPeople;
    //更新时间
    private LocalDate updateTime;
    //更新人
    private String updatePeople;
}
